home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / ezzcomm.zip / OPUS.T < prev    next >
Text File  |  1991-02-16  |  1KB  |  26 lines

  1.  : EZ-ZCOMM Copyright 1991 by Roger E. Hough, All Rights Reserved.
  2.  : Licensed for use at your own risk without fee. Altered versions,
  3.  : when distributed, must be clearly marked as altered and accompanied
  4.  : by the originals.
  5.  :
  6.  : Entry in %ZCUSER.IDS for OPUS: remote,password,first,last
  7.  :   remote:   argument of "call" command
  8.  :   password: signon password (required)
  9.  :   first:    first name. Optional: assumed equal to %n1
  10.  :   last:     last name.  Optional: assumed equal to %n2
  11.  ena -K!Z p?0 findq "\n%remote," %lib/%ZCUSER.ids
  12.  if ? split z0 , , , "";if %z1 goto haveuser
  13.  pat;pat 24cp "rz\r**\030" "@rz -p";while c wait -f600
  14.  ife r nolog close;return
  15. haveuser:
  16.  pat 24cp "rz\r**\030" "@rz -p"
  17.  ife !%z2 sets z2 %n1;ife !%z3 sets z3 %n2
  18.  pat; pat 0c "What is your FIRST name:" "%z2\r"
  19.  pat 1c "What is your LAST name:" "%z3\r"
  20.  pat 2c " is your name" "%z2 %z3\r"
  21.  pat 3c "%z2 %z3 [Y,n]?" "y\r"
  22.  pat 4i "Password:"
  23.  wait -f30;if n bye;ife r nolog close;return
  24.  mput \b\b\b%z1\r pat;pat 24cp "rz\r**\030" "@rz -p";while c wait -f600
  25.  ife r nolog close;return
  26.